﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Edit.ascx.vb" Inherits="Control_Raovat_Edit" %>
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<%@ Register TagPrefix="aspNewControls" Namespace="NewControls" %>
<%@ Register Assembly="ValidationTextBox" Namespace="ValidationTextBox.CustomControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="ValidationDropdownlist" Namespace="ValidationDropdownlist.CustomControls"
    TagPrefix="cc2" %>
<script type="text/javascript">

    function CalCulateUSDVND() {

        var tygia = 0;
        tygia = '<%= ConfigurationManager.AppSettings("TyGia") %>';
        var vnd = $("#<%= rbnVND.ClientID %>").attr("checked");
        var abc = 0;
        if (vnd == true) {
            abc = Math.round(($("#<%= txtGiaBan.ClientID %>").val().replace(",", "") * 1000000) / tygia);
            $("#<%= lblPriceInUSDOrVND.ClientID %>").html(FormatsNumber(abc.toString()) + " USD");
        }
        else {
            abc = Math.round(($("#<%= txtGiaBan.ClientID %>").val().replace(",", "") * tygia) / 1000000);
            $("#<%= lblPriceInUSDOrVND.ClientID %>").html(FormatsNumber(abc.toString()) + " tr");
        }
    }


    function ajaxJquery() {

        $(document).ready(function () {
            $(".TextBox:first").focus();
            $(".ItemDisabled").attr("disabled", "true");
            $("#tabs").tabs();
            var sessionValue = '<%=Session("UserVip")%>';
            if (sessionValue == "" || sessionValue == null || sessionValue == undefined) {
                $("#<%= chkThayDoiThongTin.ClientID %>").attr("disabled", "true");
            }

            $("#<%= txtGiaBan.ClientID %>").keypress(function () {
                CalCulateUSDVND();
            });

            $("#<%= txtGiaBan.ClientID %>").blur(function () {
                CalCulateUSDVND();
            });

            $("#<%= rbnVND.ClientID %>").click(function () {
                CalCulateUSDVND();
            });

            $("#<%= rbnUSD.ClientID %>").click(function () {
                CalCulateUSDVND();
            });


            $("#<%= chkThayDoiThongTin.ClientID %>").click(function () {

                if ($(this).attr("checked") == true) {

                    $("#<%= txtDiaChi.ClientID %>").attr("disabled", "true");

                    $("#<%= ddlKhuVuc.ClientID %>").attr("disabled", "true");

                    $("#<%= txtHoTen.ClientID %>").attr("disabled", "true");

                    $("#<%= txtDienThoai.ClientID %>").attr("disabled", "true");

                    $("#<%= txtDienThoaiKhac.ClientID %>").attr("disabled", "true");

                } else {

                    $("#<%= txtDiaChi.ClientID %>").removeAttr("disabled");

                    $("#<%= ddlKhuVuc.ClientID %>").removeAttr("disabled");

                    $("#<%= txtHoTen.ClientID %>").removeAttr("disabled");

                    $("#<%= txtDienThoai.ClientID %>").removeAttr("disabled");

                    $("#<%= txtDienThoaiKhac.ClientID %>").removeAttr("disabled");

                };
            });


            $("#<%= btnSave.ClientID %>").click(function () {

                if (validateFormInputs() == true) {

                    if (getAllImages() == true) {

                        return true;
                    } else {
                        return false;
                    };
                } else {
                    return false;
                };
            });

            //Upload Image
            $('#file_upload').uploadify({
                'uploader': '<%=ResolveUrl("~/uploadify/uploadify.swf")%>',
                'script': '<%=ResolveUrl("~/uploadify/UploadRaovat.ashx?folder=ImageStorage")%>',
                'cancelImg': '<%=ResolveUrl("~/uploadify/cancel.png")%>',
                'folder': '<%=ResolveUrl("~/Uploads")%>',
                'auto': false,
                'multi': false,
                'fileExt': '*.jpg;*.gif;*.png;*.jpeg;*.bmp',
                'fileDesc': 'Web Image Files (.JPG, .GIF, .PNG , .JPEG , .BMP)',
                'fileDataName': 'myfile',
                'sizeLimit': '<%= ConfigurationManager.AppSettings("maxupload") %>',
                'onComplete': function (event, ID, fileObj, response, data) {
                    $('#<%=hidImagePath.ClientID %>').val('<%= ConfigurationManager.AppSettings("ImageDomain") %>' + response);
                    $('#<%=imgUpload.ClientID %>').attr("src", '<%= ConfigurationManager.AppSettings("ImageDomain") %>' + response);
                }
            });

            //Upload Album 
            var str = "";
            $('#fileAlbum').uploadify({
                'uploader': '<%=ResolveUrl("~/uploadify/uploadify.swf")%>',
                'script': '<%=ResolveUrl("~/uploadify/UploadAlbum.ashx?folder=ImageStorage")%>',
                'cancelImg': '<%=ResolveUrl("~/uploadify/cancel.png")%>',
                'folder': '<%=ResolveUrl("~/Uploads")%>',
                'auto': false,
                'multi': true,
                'fileExt': '*.jpg;*.gif;*.png;*.jpeg;*.bmp',
                'fileDesc': 'Web Image Files (.JPG, .GIF, .PNG , .JPEG , .BMP)',
                'fileDataName': 'fileAlbum',
                'sizeLimit': 10240000,
                'onComplete': function (event, ID, fileObj, response, data) {
                    str += '<%= ConfigurationManager.AppSettings("ImageDomain") %>' + response.toString();
                },
                'onAllComplete': function (event, data) {
                    str += "0";
                    var myAlbum = new Array();
                    myAlbum = str.split(",");
                    str = "";
                    for (var i = 0; i < myAlbum.length - 1; i++) {
                        var index = 0;
                        index = Math.floor(Math.random() * 100);
                        $(".GridBorder").append("<tr id='" + index + "' ><td Width='10%' class='text_list_links' align='center' > <a  class='delbutton' style='cursor:pointer;' onclick='RemoveRow(" + index + ");' > Xóa </a> </td> <td Width='20%' class='text_list_links' align='left' > <img alt=''   src='" + myAlbum[i] + "' Style='width: 100px; height: 68px; top: 0px; left: 0px;' class='ag-Jd-Pd' /> </td><td Width='20%' class='text_list_links' align='left' ><textarea id='TextArea1' cols='15' rows='4'></textarea></td></tr>");
                    }
                }
            });


        });
    }
    function RemoveRow(i) {
        $(".GridBorder #" + i).remove();

    }
    function showImage(i, title, desc) {
        $(".GridBorder").append("<tr id='" + i + "' ><td Width='10%' class='text_list_links' align='center' > <a  class='delbutton' style='cursor:pointer;' onclick='RemoveRow(" + i + ");' > Xóa </a> </td> <td Width='20%' class='text_list_links' align='left' > <img alt=''   src='" + title + "' Style='width: 100px; height: 68px; top: 0px; left: 0px;' class='ag-Jd-Pd' /> </td><td Width='20%' class='text_list_links' align='left' ><textarea id='TextArea1' cols='15' rows='4'>" + desc + "</textarea></td></tr>");
    }

    function getAllImages() {
        var strImage = "";
        var strComment = "";
        $(".GridBorder tr td img").each(function (e) {
            strImage += $(this).attr("src") + ","
        });
        $(".GridBorder tr td textarea").each(function (e) {
            strComment += $(this).val() + ";"
        });
        $("#<%=hidStrImage.ClientID()%>").val(strImage + '0');
        $("#<%=hidStrCommnet.ClientID()%>").val(strComment + '0');
        return true;
    }
</script>
<asp:UpdatePanel ID="uplProduct" runat="server">
    <ContentTemplate>
        <div class="BoxField">
            <div class="HeadTitle" style="text-align: left">
                <h3>
                    <asp:Label ID="Label2" runat="server" Text=" CẬP NHẬT TIN BÁN" /></h3>
            </div>
            <div class="DivRequired" style="text-align: left">
                <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
            </div>
            <div class="DivPortlet" style="display: none">
                <div class="DivRowPortlet" style="width: 700px">
                    <div class="DivLabel">
                        <asp:Label ID="lblTitle" CssClass="TextLabel" runat="server" Text="Tiêu đề:" /><span
                            class="fieldRequired">&nbsp;</span>
                    </div>
                    <div class="DivTextBoxPortlet">
                        <cc1:ValidationTextBox ID="txtTitle" CssClass="TextBox" Width="390px" runat="server"
                            Text=""  />
                    </div>
                </div>
            </div>
            <div class="DivPortlet" style="display: none">
                <div class="DivRowPortlet" style="width: 700px">
                    <div class="DivLabel">
                        <asp:Label ID="lblDescription" CssClass="TextLabel" runat="server" Text="Mô tả:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <cc1:ValidationTextBox ID="txtDescription" runat="server" CssClass="TextBox" Height="120px"
                            Rows="5" Text="" TextMode="MultiLine" Width="390px"  />
                    </div>
                </div>
            </div>
            <div class="DivRow">
                <div class="rowmain_780">
                    <div id="tabs" style="height: 480px;">
                        <ul>
                            <!-- CSS Tabs -->
                            <li><a id="link1" href="#tabs-1"><span>Thông tin cơ bản</span></a></li>
                            <li><a id="link2" href="#tabs-2"><span>An toàn</span></a></li>
                            <li><a id="link3" href="#tabs-3"><span>Tiện nghi</span></a></li>
                            <li><a id="link4" href="#tabs-4"><span>Thông tin kỹ thuật</span></a></li>
                        </ul>
                        <div id="tabs-1">
                            <div class="BoxField">
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label8" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Thông tin cơ bản" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblHangchetao" CssClass="TextLabel" runat="server" Text="Hãng chế tạo:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlHangchetao" runat="server" CssClass="Dropdownlist"
                                                Width="163px" DataType="required" AssociatedLableText="hãng chế tạo" 
                                                AutoPostBack="True">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDoixe" CssClass="TextLabel" runat="server" Text="Đời xe:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <aspNewControls:NewDropDownList ID="ddlDoixe" runat="server"   CssClass="Dropdownlist"
                                                Height="20px" Width="163px">
                                            </aspNewControls:NewDropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblNamsanxuat" CssClass="TextLabel" runat="server" Text="Năm sản xuất:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlNamsanxuat" runat="server" CssClass="Dropdownlist"
                                                Width="163px" DataType="required" AssociatedLableText="năm sản xuất">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblPhanhangmodel" CssClass="TextLabel" runat="server" Text="Phân hạng Model:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtPhanHangModel" Width="100px" runat="server"  
                                                CssClass="TextBox" AssociatedLableText="phân hạng model"></cc1:ValidationTextBox>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblTinhtrang" CssClass="TextLabel" runat="server" Text="Tình trạng:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlTinhTrang" runat="server" CssClass="Dropdownlist"
                                                Width="163px" DataType="required" AssociatedLableText="tình trạng">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDongxe" CssClass="TextLabel" runat="server" Text="Dòng xe:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlDongXe" DataType="required" runat="server" CssClass="Dropdownlist"
                                                Width="163px" AssociatedLableText="dòng xe">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label5" CssClass="TextLabel" runat="server" Text="Xuất xứ:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlXuatXu" runat="server" CssClass="Dropdownlist"
                                                Width="163px" DataType="required" AssociatedLableText="xuất xứ">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        
                                        </div>
                                    </div>
                                </div>


                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblMaunoithat" CssClass="TextLabel" runat="server" Text="Màu nội thất:" /></div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlMauNoiThat"  runat="server"
                                                CssClass="Dropdownlist" Width="163px" 
                                                AssociatedLableText="màu nội thất">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblMaungoaithat" CssClass="TextLabel" runat="server" Text="Màu ngoại thất:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlMauNgoaiThat" AssociatedLableText="màu ngoại thất"  runat="server"
                                                CssClass="Dropdownlist" Width="163px">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblSochongoi" CssClass="TextLabel" runat="server" Text="Số chỗ ngồi:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtSochongoi" AssociatedLableText="số chỗ ngồi" onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" Width="100px" runat="server" Text="" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblSocua" CssClass="TextLabel" runat="server" Text="Số cửa:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtSocua" AssociatedLableText="số cửa"  onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" Width="80px" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblSoklmdadi" CssClass="TextLabel" runat="server" Text="Số km đã đi:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtSoKm" Width="100px" AssociatedLableText="số km đã đi" DataType="requiredAndInteger" onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" runat="server" />(km)
                                        </div>
                                    </div>
                                   <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label27" CssClass="TextLabel" runat="server" Text="Giá bán:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtGiaBan" AssociatedLableText="giá bán" DataType="requiredAndInteger" onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" Width="55px" runat="server" Text="" MaxLength="7" />
                                                <asp:RadioButton ID="rbnVND" runat="server" Text="vnđ (tr)" GroupName="Money" Checked="true" /> &nbsp <asp:RadioButton ID="rbnUSD" runat="server" Text="USD" GroupName="Money" />
                                            
                                        </div>
                                    </div>
                                </div>

                                <div class="DivPortlet">
                                        <div class="DivRowPortlet"></div>
                                         <div class="DivRowPortlet">                                         
                                            <div class="DivLabelPortlet">
                                            <asp:Label ID="lblPrice123" runat="server" Text="Giá tương đương:"></asp:Label>
                                            </div>                                         
                                      
                                        <div class="DivTextBoxPortlet">
                                            <asp:Label ID="lblPriceInUSDOrVND" runat="server"  Text=""></asp:Label>
                                        </div> 
                                       </div>
                                </div>

                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label9" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Nhiên liệu" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblHethongnhienlieu" CssClass="TextLabel" runat="server" Text="Hệ thống nhiên liệu:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlHeThongNhienLieu" AssociatedLableText="hệ thống nhiên liệu"  runat="server"
                                                CssClass="Dropdownlist" Width="163px">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblNhienlieu" CssClass="TextLabel" runat="server" Text="Nhiên liệu:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlNhienLieu" AssociatedLableText="loại nhiên liệu" runat="server"
                                                CssClass="Dropdownlist" Width="163px">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label10" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Hộp số chuyển động" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDandong" CssClass="TextLabel" runat="server" Text="Dẫn động:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlDanDong" AssociatedLableText="dẫn động"  runat="server" CssClass="Dropdownlist"
                                                Width="163px">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblHopso" CssClass="TextLabel" runat="server" Text="Hộp số:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlHopSo" AssociatedLableText="hộp số"  runat="server" CssClass="Dropdownlist"
                                                Width="163px">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblTieuthunhienlieu" CssClass="TextLabel" runat="server" Text="Tiêu thụ nhiên liệu:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtTieuthunhienlieu" onkeypress='IntegerAndDecimal(event,this,false);' AssociatedLableText="mức tiêu thụ nhiên liệu"  Width="100px"
                                                CssClass="TextBox" runat="server" Text="" />(l/km)
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            &nbsp;&nbsp;&nbsp;</div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label11" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Thông tin mô tả:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            &nbsp;&nbsp;&nbsp;</div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet" style="width: 100%">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label4" CssClass="TextLabel" runat="server" Text="Mô tả:" /><span
                                                class="fieldRequired">&nbsp;</span>
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtThietBiKhacCoBan" AssociatedLableText="thông tin mô tả" DataType="required" CssClass="TextBox" runat="server"
                                                Text="" Height="100px" Rows="5" MaxLength="500" Width="490px" TextMode="MultiLine" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div style="display: none">
                                <asp:HiddenField ID="HiddenField1" Value="0" runat="server" />
                                <asp:HiddenField ID="hidRaoVatId" Value="0" runat="server" />
                            </div>
                        </div>
                        <div id="tabs-2">
                            <div class="BoxField">
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label12" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Túi khí an toàn" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblTuikhinguoilai" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Túi khí người lái:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptTuiKhiNguoiLai" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblTuikhitruoc" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Túi khí cho hành khách phía trước:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptTuiKhiTruoc" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblTuikhisau" Width="235px" CssClass="TextLabel" runat="server" Text="Túi khí cho hành khách phía sau:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptTuiKhisau" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblTuikhihaibenghe" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Túi khí hai bên ghế:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptHaiBenGhe" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label13" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Phanh - Điều khiển" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblPhanhabs" Width="235px" CssClass="TextLabel" runat="server" Text="Chống bó cứng phanh(ABS):" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptABS" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblPhanbolucabd" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Phân bổ lực phanh điện tử:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptPhanhDienTu" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblTrolucphanheba" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Trợ lực phanh khẩn cấp(EBA):" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptEBA" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblCanbangdientuesp" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Tự động cân bằng điện tử(ESP):" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptESB" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblDieukhienhanhtrinh" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Điều khiển hành trình:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptDKHanhTrinh" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblHotrocanhbaolui" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Hỗ trợ cảnh báo lùi:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptCanhBaoLui" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblKiemsoattruot" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Hệ thống kiểm soát trượt:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptKiemSoatTruot" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblChotcuaantoan" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Chốt cửa an toàn:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptChotAntoan" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label14" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Khóa chống trộm" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblKhoacuatudong" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Khỏa cửa tự động:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptKhoaCuaTuDong" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblKhoacuadktuxa" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Khóa cửa điều khiển từ xa:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptKhoaCuaDKTuXa" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblKhoadongco" Width="235px" CssClass="TextLabel" runat="server" Text="Khóa động cơ:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptKhoaDongCo" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblHtbaongoaivi" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Hệ thống báo trộm ngoại vi:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptChongTrom" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label15" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Các thông số khác" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblDensuongmu" Width="235px" CssClass="TextLabel" runat="server" Text="Đèn sương mù:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptDenSuongMu" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblDendayantoan" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Đèn báo thắt dây an toàn:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptThatDayAnToan" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet" style="width: 240px">
                                            <asp:Label ID="lblDenphanhphu3" Width="235px" CssClass="TextLabel" runat="server"
                                                Text="Đèn phanh phụ thứ 3 lắp cao:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptDenPhu" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            &nbsp;&nbsp;&nbsp;</div>
                                        <div class="DivTextBoxPortlet">
                                            &nbsp;
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div style="display: none">
                                <asp:HiddenField ID="HiddenField2" Value="0" runat="server" />
                                <asp:HiddenField ID="HiddenField3" Value="0" runat="server" />
                            </div>
                        </div>
                        <div id="tabs-3">
                            <div class="BoxField">
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label20" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Túi khí an toàn" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label7" CssClass="TextLabel" runat="server" Text="Thiết bị định vị:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptThietBiDinhVi" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblCuasonoc" CssClass="TextLabel" runat="server" Text="Cửa sổ nóc:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptCuaSoNoc" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblKinhchinhdien" CssClass="TextLabel" runat="server" Text="Kính chính diện:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptKinhChinhDien" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblTaylaitroluc" CssClass="TextLabel" runat="server" Text="Tay lái trợ lực:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptTayLaiTroLuc" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblThietbigiaitri" CssClass="TextLabel" runat="server" Text="Thiết bị giải trí:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptGiaiTri" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDieuhoatruoc" CssClass="TextLabel" runat="server" Text="Điều hòa trước:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptDieuHoaTruoc" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDieuhoasau" CssClass="TextLabel" runat="server" Text="Điều hòa sau:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptDieuHoaSau" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblHotroxetudong" CssClass="TextLabel" runat="server" Text="Hỗ trợ xe tự động:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptHoTroXeTuDong" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblSaykinhsau" CssClass="TextLabel" runat="server" Text="Sấy kính sau:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptSaykinhsau" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblQuatkinhphiasau" CssClass="TextLabel" runat="server" Text="Quạt kính sau:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptQuatKinhSau" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblKinhmau" CssClass="TextLabel" runat="server" Text="Kính màu:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptKinhMau" runat="server" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblManhinhlcd" CssClass="TextLabel" runat="server" Text="Màn hình LCD:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <asp:CheckBox ID="rptLCD" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet" style="width: 100%">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblGhechatlieutiennghi" CssClass="TextLabel" runat="server" Text="Ghế,chất liệu,tiện nghi:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtGheChatLieu" CssClass="TextBox" runat="server" Text=""
                                                Height="100px" Rows="5" TextMode="MultiLine" Width="390px" />
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label21" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Thiết bị khác" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet" style="width: 100%">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblThietbikhac" CssClass="TextLabel" runat="server" Text="Mô tả:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtThietBiKhacTienNghi" CssClass="TextBox" runat="server"
                                                Text="" Height="100px" Rows="5" TextMode="MultiLine" Width="390px" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div style="display: none">
                                <asp:HiddenField ID="HiddenField4" Value="0" runat="server" />
                                <asp:HiddenField ID="HiddenField5" Value="0" runat="server" />
                            </div>
                        </div>
                        <div id="tabs-4">
                            <div class="BoxField">
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet" style="width: 100%">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label16" CssClass="TextLabel" Width="300px" Font-Bold="true" runat="server"
                                                Text="Kích thước/Trọng lượng" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label6" CssClass="TextLabel" runat="server" Text="Dai,rong,cao:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtDaiRongCao" Width="100px" CssClass="TextBox" runat="server"
                                                Text="" />
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblChieudaicoso" CssClass="TextLabel" runat="server" Text="Chiều dài cơ sở:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtChieudaicoso" Width="100px" onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" runat="server" Text="" />
                                            &nbsp;(m)</div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblChieurongcoso" CssClass="TextLabel" runat="server" Text="Chiều rộng cơ sở:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtChieurongcoso" Width="100px" onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" runat="server" Text="" />
                                            &nbsp;(m)</div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblTrongluongkhongtai" CssClass="TextLabel" runat="server" Text="Trọng lượng không tải:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtTrongluongkhongtai" Width="100" onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" runat="server" Text="" />
                                            &nbsp;(kg)</div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDungtichbinhnhienlieu" CssClass="TextLabel" runat="server" Text="Dung tích bình nhiên liệu:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtDungtichbinhnhienlieu" Width="100px" onkeypress='IntegerAndDecimal(event,this,false);'
                                                CssClass="TextBox" runat="server" Text="" />
                                            &nbsp;(l)</div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDongco" CssClass="TextLabel" runat="server" Text="Động cơ:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlDongCo" runat="server" CssClass="TextBox">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label17" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Động cơ" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblKieudongco" CssClass="TextLabel" runat="server" Text="Kiểu động cơ:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlKieuDongCo" runat="server" CssClass="TextBox">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblDungtichxilanh" CssClass="TextLabel" runat="server" Text="Dung tích xi lanh:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtDungtichxilanh" Width="100px" CssClass="TextBox" runat="server"
                                                Text="" onkeypress='IntegerAndDecimal(event,this,false);' />
                                            &nbsp;(l)</div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label18" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Phanh - Giảm xóc - Lốp" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblPhanh" CssClass="TextLabel" runat="server" Text="Phanh:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlPhanh" runat="server" CssClass="Dropdownlist">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblGiamsoc" CssClass="TextLabel" runat="server" Text="Giảm sóc:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlGiamSoc" runat="server" CssClass="Dropdownlist">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblLopxe" CssClass="TextLabel" runat="server" Text="Lốp xe:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlLopXe" runat="server" CssClass="Dropdownlist">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblVanhmam" CssClass="TextLabel" runat="server" Text="Vành mâm:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc2:ValidationDropdownlist ID="ddlVanhMam" runat="server" CssClass="Dropdownlist">
                                            </cc2:ValidationDropdownlist>
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="Label19" CssClass="TextLabel" Font-Bold="true" runat="server" Text="Thông số khác" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                    <div class="DivRowPortlet">
                                        <div class="DivLabelPortlet">
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                        </div>
                                    </div>
                                </div>
                                <div class="DivPortlet">
                                    <div class="DivRowPortlet" style="width: 100%">
                                        <div class="DivLabelPortlet">
                                            <asp:Label ID="lblThongsokhac" CssClass="TextLabel" runat="server" Text="Mô tả:" />
                                        </div>
                                        <div class="DivTextBoxPortlet">
                                            <cc1:ValidationTextBox ID="txtThietBiKhacKyThuat" Width="490px" CssClass="TextBox"
                                                runat="server" Text="" Height="100px" Rows="5" TextMode="MultiLine" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div style="display: none">
                                <asp:HiddenField ID="HiddenField6" Value="0" runat="server" />
                                <asp:HiddenField ID="HiddenField7" Value="0" runat="server" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet" style="width: 700px">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="Label1" CssClass="TextLabel" runat="server" Text="Ảnh đại diện:" />
                        <span class="fieldRequired">&nbsp;</span>
                    </div>
                    <div class="DivTextBoxPortlet" style="text-align: left">
                        <input id="file_upload" style="text-align: left" name="file_upload" type="file" /><a
                            id="upload" href="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a>
                    </div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet" style="width: 700px">
                    <div class="DivLabelPortlet">
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div>
                    <div style="height: 100px;" class="DivTextBoxPortlet">
                        <asp:Image ID="imgUpload" runat="server" BorderWidth="0px" Height="100px" Width="100px"
                            ImageUrl="~/Images/NoPhotoAvailable.jpg" />
                    </div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet" style="width: 700px">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="Label3" CssClass="TextLabel" runat="server" Text="Thêm ảnh vào Album:" />
                    </div>
                    <div class="DivTextBoxPortlet" style="text-align: left">
                        <input id="fileAlbum" name="fileAlbum" type="file" /><a href="javascript:$('#fileAlbum').uploadifyUpload();">Upload
                            Files</a>
                    </div>
                </div>
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    &nbsp;</div>
                <div style="width: 100%;" class="DivTextBox">
                    <table cellpadding="0" width="50%" cellspacing="0" border="1" class="GridBorder">
                        <tr>
                            <td width='10%' class='text_list_links' align='center'>
                            </td>
                            <td width='20%' class='text_list_links' align='left'>
                                Ảnh
                            </td>
                            <td width='20%' class='text_list_links' align='left'>
                                Mô tả
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div style="clear: both; height: 10px">
            </div>
            <div style="display: none" class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblStoreid" CssClass="TextLabel" runat="server" Text="Gian hàng:" /><span
                        class="fieldRequired">&nbsp;</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlStore"
                        Display="None" Enabled="false" ErrorMessage="Vui lòng  chọn gian hàng." InitialValue="0"></asp:RequiredFieldValidator>
                </div>
                <div class="DivTextBox">
                    <cc2:ValidationDropdownlist ID="ddlStore" runat="server" CssClass="Dropdownlist"
                        Height="20px" Width="253px">
                    </cc2:ValidationDropdownlist>
                </div>
            </div>
            <div style="display: none" class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblIsselloff" CssClass="TextLabel" runat="server" Text="Khuyến mại:" />
                </div>
                <div class="DivTextBox">
                    <asp:CheckBox ID="chkIsselloff" CssClass="TextBox" runat="server" />
                </div>
            </div>
            <div style="display: none" class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblIshot" CssClass="TextLabel" runat="server" Text="Hot:" />
                </div>
                <div class="DivTextBox">
                    <asp:CheckBox ID="chkIshot" CssClass="TextBox" runat="server" />
                </div>
            </div>
            <div class="DivPortlet" style="width: 800px">  
            <div class="DivRowPortlet" style="width: 100%" >
                    <div class="DivLabelPortlet">
                <asp:Label ID="Label22" CssClass="TextLabel" runat="server" Text="Họ và tên:" /><span
                    class="fieldRequired">&nbsp;</span> </div>
                    <div class="DivTextBoxPortlet"  style="width: 308px" >
                <cc1:ValidationTextBox ID="txtHoTen" Width="308px"  AssociatedLableText="họ tên" runat="server" CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
               </div>
            </div>
            <div style="clear: both; height:5px">
            </div>
            <div class="DivPortlet" style="width: 800px">
              <div class="DivRowPortlet" style="width: 100%" >
                    <div class="DivLabelPortlet">
                  <asp:Label ID="Label23" CssClass="TextLabel" runat="server" Text="Điện thoại:" /><span
                    class="fieldRequired">&nbsp;</span>   </div>
                    <div class="DivTextBoxPortlet"  style="width: 308px" >
                <cc1:ValidationTextBox ID="txtDienThoai"  AssociatedLableText="điện thoại" runat="server" Width="106px" CssClass='TextBox'
                    DataType="required"></cc1:ValidationTextBox>
                <asp:Label ID="Label24" CssClass="TextLabel" runat="server" Text="điên thoại khác:" />
                <cc1:ValidationTextBox ID="txtDienThoaiKhac" Width="100px" runat="server" CssClass='TextBox'></cc1:ValidationTextBox> </div>
                </div>
            </div>
             <div style="clear: both; height:5px">
            </div>
            <div class="DivPortlet" style="width: 800px">
                <div class="DivRowPortlet" style="width: 100%" >
                    <div class="DivLabelPortlet">
                        <asp:Label ID="Label25" CssClass="TextLabel" runat="server" Text="Địa chỉ:" /><span
                            class="fieldRequired">&nbsp;</span>
                    </div>
                    <div class="DivTextBoxPortlet"  style="width: 308px" >
                        <cc1:ValidationTextBox ID="txtDiaChi"  AssociatedLableText="địa chỉ" runat="server" Width="308px" CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
                    </div>
                </div>
            </div>
            <div class="DivPortlet" style="width: 800px">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="Label26" CssClass="TextLabel"  runat="server" Text="Khu vực:" /><span
                            class="fieldRequired">&nbsp;</span>
                    </div>
                    <div class="DivTextBoxPortlet">
                        <cc2:ValidationDropdownlist ID="ddlKhuVuc" AssociatedLableText="khu vực" runat="server" CssClass='TextBox' Width="163px"
                            DataType="required">
                        </cc2:ValidationDropdownlist>
                    </div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:CheckBox ID="chkThayDoiThongTin" Text="Thay đổi thông tin" runat="server" />
                    </div>
                    <div class="DivTextBoxPortlet">
                    </div>
                </div>
            </div>
            <div class="DivPortlet" style="width: 800px">
                <div class="DivRowPortlet" style="padding-left: 180px">
                    <div class="DivLabelPortlet">
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
                        <asp:Button ID="btnHuy" CausesValidation="false" runat="server" Text=" Hủy " CssClass="btn" />&nbsp;
                    </div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                    </div>
                    <div class="DivTextBoxPortlet">
                    </div>
                </div>
            </div>
        </div>
        <div style="display: none">
            <asp:HiddenField ID="hidID" Value="0" runat="server" />
            <asp:TextBox ID="hidImagePath" Text="" runat="server"></asp:TextBox>
            <asp:TextBox ID="hidStrImage" Text="" runat="server"></asp:TextBox>
            <asp:TextBox ID="hidStrCommnet" Text="" runat="server"></asp:TextBox>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
